﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/TemplateAdmin.Master" AutoEventWireup="true" CodeBehind="CameraList_Detail.aspx.cs" Inherits="OnlineDigitalCameraWebsite.Admin.CameraList_Detail" %>

<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h2 class="sub-header">
        <asp:Label ID="lblTieuDe" runat="server" Text=""></asp:Label></h2>
    <h4 class="sub-header">
        <a href="/Admin/CameraList.aspx" class="label label-info">Quay về danh sách</a>
        <asp:HyperLink ID="lblLink" Target="_blank" runat="server" Text=""></asp:HyperLink>

    </h4>

    <table class="auto-style1">
        <tr>
            <td colspan="2">
                <asp:Label ID="lbThongBao" class="label label-success" runat="server" Text=""></asp:Label><br />
            </td>


        </tr>
        <tr>
            <td style="width: 150px;">Model</td>
            <td style="width: 1250px;">
                <asp:DropDownList ID="ddlModel" CssClass="form-control" runat="server" Width="300px" required></asp:DropDownList><br />
            </td>
        </tr>
        <tr>
            <td style="width: 150px;">Series</td>
            <td>
                <asp:DropDownList ID="ddlseriesId" CssClass="form-control" runat="server" Width="300px" required></asp:DropDownList><br />
            </td>
        </tr>

        <tr>
            <td>Tên camera</td>
            <td>
                <asp:TextBox ID="txtName" CssClass="form-control" runat="server" Width="300px" required></asp:TextBox><br />
            </td>
        </tr>
        <tr>
            <td>Hình ảnh</td>
            <td>
                <asp:Image ID="Image1" runat="server" />
                <asp:FileUpload ID="FileUpload1" runat="server" /><br />
            </td>
        </tr>
        <tr>
            <td>Giá</td>
            <td>
                <asp:TextBox ID="txtprice" CssClass="form-control" runat="server" Width="300px" required></asp:TextBox>
                VNĐ<br />
            </td>
        </tr>
        <tr>
            <td>Chi tiết</td>
            <td>
                <CKEditor:CKEditorControl ID="txtdes" runat="server" Height="400px" Width="100%"></CKEditor:CKEditorControl>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" ControlToValidate="txtdes" runat="server" ErrorMessage="Nhập Chi tiết" ForeColor="Red"></asp:RequiredFieldValidator>
                <br />
                <%--<asp:TextBox ID="txtdes" TextMode="MultiLine" CssClass="form-control" runat="server" Width="300px"></asp:TextBox>--%> 
            </td>
        </tr>
        <tr>
            <td>MaxResolution</td>
            <td>
                <asp:TextBox ID="txtcamMaxResolution" CssClass="form-control" runat="server" Width="300px"></asp:TextBox><br />
            </td>
        </tr>
        <tr>
            <td>SensorType</td>
            <td>
                <asp:TextBox ID="txtSensorType" CssClass="form-control" runat="server" Width="300px"></asp:TextBox>
                <br />
            </td>
        </tr>
          <tr>
            <td>Sensor Size</td>
            <td>
                <asp:TextBox ID="txtSensorSize" CssClass="form-control" runat="server" Width="300px"></asp:TextBox>
                <br />
            </td>
        </tr>
         
        <tr>
            <td>Iso</td>
            <td>
                <asp:TextBox ID="txtcamIso" CssClass="form-control" runat="server" Width="300px"></asp:TextBox>
                <br />
            </td>
        </tr>
         <tr>
            <td>Focal LengthMulti</td>
            <td>
                <asp:TextBox ID="txtFocalLengthMulti" CssClass="form-control" runat="server" Width="300px"></asp:TextBox>
                <br />
            </td>
        </tr>
        <tr>
            <td>Screen Size</td>
            <td>
                <asp:TextBox ID="txtcamScreenSize" CssClass="form-control" runat="server" Width="300px"></asp:TextBox>
                <br />
            </td>
        </tr>
         <tr>
            <td>Min Shutter Speed</td>
            <td>
                <asp:TextBox ID="txtcamMinShutterSpeed" CssClass="form-control" runat="server" Width="300px"></asp:TextBox>
                <br />
            </td>
        </tr>
         <tr>
            <td>Max Shutter Speed</td>
            <td>
                <asp:TextBox ID="txtcamMaxShutterSpeed" CssClass="form-control" runat="server" Width="300px"></asp:TextBox>
                <br />
            </td>
        </tr>
         <tr>
            <td>Manufacturer</td>
            <td>
                <%--<asp:TextBox ID="txtmanufacturerId" CssClass="form-control" runat="server" Width="300px"></asp:TextBox>--%>
                   <asp:DropDownList ID="ddlmanufacturerId" CssClass="form-control" runat="server" Width="300px">

                   </asp:DropDownList><br />

                <br />
            </td>
        </tr>

        <tr>
            <td>Tình trạng</td>
            <td>
                <asp:DropDownList ID="ddlactive" CssClass="form-control" runat="server" Width="300px">
                    <asp:ListItem Value="False">Không hoạt động</asp:ListItem>
                    <asp:ListItem Value="True">Hoạt động</asp:ListItem>
                </asp:DropDownList>
                <br />
            </td>
        </tr>
        <tr>

            <td></td>
            <td>
                <asp:Button ID="btnOK" CssClass="btn btn-info" runat="server" Text="Lưu Lại" OnClick="btnOK_Click" />
                <br />
                <br />
                <br />
                <br />
            </td>
        </tr>
    </table>
</asp:Content>
